package com.lh.lepay.annotation;

import jakarta.validation.Constraint;
import jakarta.validation.Payload;

import java.lang.annotation.*;

@Documented
@Target({ ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidAmount {
    String message() default "非法输入：请输入正确的金额格式（如123.45）";
    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
}